import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './element/index'
import VueQuillEditor from 'vue-quill-editor'
Vue.use(VueQuillEditor)
import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme
Vue.config.productionTip = false
Vue.filter('timers',(n)=>{
  console.log(n)
  var t=new Date(n*100)
  var N=t.getFullYear();
  var Y=(t.getMonth()+1).toString().padStart(2,'0')
  var R=t.getDate().toString().padStart(2,'0')
  var S=t.getHours().toString().padStart(2,'0')
  var F=t.getMinutes().toString().padStart(2,'0')
  var M=t.getSeconds().toString().padStart(2,'0')

  return`${N}-${Y}-${R} ${S}:${F}:${M}`
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
